<?php
/**
 * FaZend Framework
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt. It is also available 
 * through the world-wide-web at this URL: http://www.fazend.com/license
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@fazend.com so we can send you a copy immediately.
 *
 * @copyright Copyright (c) FaZend.com
 * @version $Id$
 * @category FaZend
 */

/**
 * CLI Os version detector
 *
 * @package application
 * @subpackage Cli
 * @see Bootstrap
 */
class OSVersion extends FaZend_Cli_Abstract
{

    /**
     * Executor of a command-line command
     *
     * @return string
     * @see OSVersion
     */
    public function execute()
    {
        $sub = $this->_callCli('Sub');
        return $sub . shell_exec('ver');
    }

}
